package com.zb.designmode.decorate.example112;

/**
 * <p>文件描述：</p>
 * <p>版权所有： 版权所有(C)2016-2099</p>
 * <p>内容摘要： </p>
 * <p>其他说明： </p>
 * Date 2019-05-06</p>
 * Author Bing.Zhao1
 *
 * @version 1.0
 */
public class UpLogger extends Decorator {
    public UpLogger(ILogger logger) {
        super(logger);
    }

    @Override
    public void log(String msg) {
        msg = msg.toUpperCase();
        logger.log(msg);
    }
}
